#include<stdio.h>
#include<conio.h>
void main()
{
	float bs, da, hra, gs;

	clrscr();

	printf("\n\\n\n\t\t\tEnter the value of basic salary: ");

	scanf("%f", &bs);


	if(bs<1500)

	{

	hra = bs*10/100;

	da = bs*90/100;

	}

	else

	{
		hra = 500;

		da = bs*98/100;

	}

	gs = bs + hra + da;

	printf("\n\n\n\t\t\tEmploye's gross salary = Rs %f",gs);

	getch();



}